package com.endoc.designpattern.faced;

public class FacedService {
    private PickService pickService;
    private PackService packService;
    private SendService sendService;


    public FacedService(){
        pickService = new PickService();
        packService = new PackService();
        sendService = new SendService();
    }

    /**
     * 客户订单处理类
     */
    public void doOrder(){
        //采摘
        pickService.doPick();

        //包装
        packService.doPack();
        //快递

        sendService.doSend();

    }
}
